package com.system.order.service;

import com.system.common.model.OrderMessage;
import com.system.order.domain.ProductOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.system.order.request.ConfirmOrderRequest;
import com.system.order.util.JsonData;

/**
* @author Admin
* @description 针对表【product_order】的数据库操作Service
* @createDate 2024-12-10 17:25:54
*/
public interface ProductOrderService extends IService<ProductOrder> {

    String queryProductOrderState(String outTradeNo);

    JsonData confirmOrder(ConfirmOrderRequest orderRequest);

    boolean closeProductOrder(OrderMessage orderMessage);
}
